@use '../../variables'
@use '../../mixins'

.errorMessage
  @include mixins.font
  @include mixins.border

  color: variables.$error-color
  background: variables.$background-color

  padding: .5rem
  margin: variables.$item-margin
  min-height: variables.$item-height

  display: flex
  align-items: start
  box-sizing: border-box

  line-height: 1.4

  &>span:first-child
    display: inline-flex

  &[hidden]
    display: none
